Optimal. Leaf size=35 \[ \frac{1}{4} x^2 \sqrt{x^4-2}-\frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{x^4-2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0107706, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364, Rules used = {275, 195, 217, 206} \[ \frac{1}{4} x^2 \sqrt{x^4-2}-\frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{x^4-2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 275
Rule 195
Rule 217
Rule 206
Rubi steps
\begin{align*} \int x \sqrt{-2+x^4} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \sqrt{-2+x^2} \, dx,x,x^2\right )\\ &=\frac{1}{4} x^2 \sqrt{-2+x^4}-\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{\sqrt{-2+x^2}} \, dx,x,x^2\right )\\ &=\frac{1}{4} x^2 \sqrt{-2+x^4}-\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\frac{x^2}{\sqrt{-2+x^4}}\right )\\ &=\frac{1}{4} x^2 \sqrt{-2+x^4}-\frac{1}{2} \tanh ^{-1}\left (\frac{x^2}{\sqrt{-2+x^4}}\right )\\ \end{align*}
Mathematica [A] time = 0.0181579, size = 50, normalized size = 1.43 \[ \frac{\left (x^4-2\right ) \left (\sqrt{2-x^4} x^2+2 \sin ^{-1}\left (\frac{x^2}{\sqrt{2}}\right )\right )}{4 \sqrt{-\left (x^4-2\right )^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 28, normalized size = 0.8 \begin{align*}{\frac{{x}^{2}}{4}\sqrt{{x}^{4}-2}}-{\frac{1}{2}\ln \left ({x}^{2}+\sqrt{{x}^{4}-2} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.966636, size = 78, normalized size = 2.23 \begin{align*} -\frac{\sqrt{x^{4} - 2}}{2 \, x^{2}{\left (\frac{x^{4} - 2}{x^{4}} - 1\right )}} - \frac{1}{4} \, \log \left (\frac{\sqrt{x^{4} - 2}}{x^{2}} + 1\right ) + \frac{1}{4} \, \log \left (\frac{\sqrt{x^{4} - 2}}{x^{2}} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48016, size = 74, normalized size = 2.11 \begin{align*} \frac{1}{4} \, \sqrt{x^{4} - 2} x^{2} + \frac{1}{2} \, \log \left (-x^{2} + \sqrt{x^{4} - 2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.1505, size = 90, normalized size = 2.57 \begin{align*} \begin{cases} \frac{x^{6}}{4 \sqrt{x^{4} - 2}} - \frac{x^{2}}{2 \sqrt{x^{4} - 2}} - \frac{\operatorname{acosh}{\left (\frac{\sqrt{2} x^{2}}{2} \right )}}{2} & \text{for}\: \frac{\left |{x^{4}}\right |}{2} > 1 \\- \frac{i x^{6}}{4 \sqrt{2 - x^{4}}} + \frac{i x^{2}}{2 \sqrt{2 - x^{4}}} + \frac{i \operatorname{asin}{\left (\frac{\sqrt{2} x^{2}}{2} \right )}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.14348, size = 39, normalized size = 1.11 \begin{align*} \frac{1}{4} \, \sqrt{x^{4} - 2} x^{2} + \frac{1}{2} \, \log \left (x^{2} - \sqrt{x^{4} - 2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]